<? ini_set('memory_limit','10000M');?>
<style>
body { margin-top:25; font-size:12px;}
		.b_line { border-bottom:1px #AAAAAA solid; height:25px; font-size:14px}
		.border_t{border-top:1px inset #EEE;}
		.border_b{border-bottom:1px inset #EEE;}
		.border_l{border-left:1px inset #EEE;}
		.border_r{border-right:1px inset #EEE;}
		.xx:hover {cursor:pointer; background:#99FF99;}
		.xy:hover {cursor:pointer; background:#F30;}
		.box{border:0.5px solid #003}
		.box_t{border-top:1px solid #003;}
		.box_lbr{border:1px solid #003; border-top:none}
		.box_ltr{border:1px solid #003; border-bottom:none}
		.box_l{border-left:1px solid #003;}
		.box_r{border-right:1px solid #003;}
		.box_lb{border-left:1px solid #003;border-bottom:1px solid #003;}
		.box_rb{border-right:1px solid #003;border-bottom:1px solid #003;}
		.list_genap{cursor:pointer; background-color:#6699FF;}
		.list_ganjil{cursor:pointer; background-color:#9966FF;}
		.list_closed{cursor:pointer; background-color:#FF99FF;}
</style>
<body>
<table width='100%' style="border-collapse:collapse">
<tr><td colspan='6' align='center'><b>LIST AKTIVE MEMBER </b></td></tr>
<tr><td colspan='6' align='center'>Lokasi :<?=$id_lokasi?></td></tr>
<thead>
<tr style="background:#999999">
	<th width='5%' class='box' rowspan='0'>No.</th>
	<th width='10%' class='box' rowspan='0'>No.Anggota</th>
	<th width='15%' class='box' rowspan='0'>Nama Anggota.</th>
	<th width='5%' class='box' colspan='0'>L/P</th>
	<th width='45%' class='box' colspan='0'>Alamat</th>
	<th width='20%' class='box' colspan='0'>No. Telp</th>
</tr>
</thead>
<tbody>
<? $i=0;$content='';
		foreach($lst_usr as $r)
		{
			$i++;
			$content.=tr().
					  td($i,'',false,'box','center').
					  td($r->id_reg,'',false,'box','center').
					  td($r->nm_member,'',false,'box','left').
					  td($r->sex_member,'',false,'box','center').
					  td($r->add_member,'',false,'box','left').
					  td($r->hp_member,'',false,'box','left').
					  _tr();
		}
		echo $content;
?>
</tbody>
</table>
</body>